]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: Fix menu animation
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 29 May 2026 15:15:26 +0000 (17:15 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 3 Jul 2026 18:03:28 +0000 (18:03 +0000)
PopupMenu.open() takes a PopupAnimation flag, not a boolean. Due
to implicit type conversion, we are currently effectively passing
`PopupAnimation.SLIDE`, so we miss the fade part of the animation.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4237>

js/ui/keyboard.js

index e2d12a155fbd7bd94e6a891131a0a029779876d7..42fae6a5658686dcc446e5cd8e0d3730dcc9860c 100644 (file)
@@ -1579,7 +1579,7 @@ export const Keyboard = GObject.registerClass({
 
         this._languagePopup = new LanguageSelectionPopup(keyActor);
         Main.layoutManager.addTopChrome(this._languagePopup.actor);
-        this._languagePopup.open(true);
+        this._languagePopup.open(BoxPointer.AnimationMode.FULL);
     }
 
     _updateCurrentPageVisible() {